#ifndef  SIM900A_API_H
#define  SIM900A_API_H

#include <stdarg.h>
#include <stdint.h>
#include "option.h"
#include "sim900a_core.h"


void  mdelay (uint32_t ms);  //毫秒级延时 

int   SIM900A_api_init(void);//SIM900A初始化 

char* SIM900A_api_get_SMS_address(void);    //获得模块的SMS中心地址 
int   SIM900A_api_open(void);               //SIM900A模块开机 
int   SIM900A_api_get_CREG(void);           //获得GSM网络注册状态 
int   SIM900A_api_get_COPS(void);           //获得GSM运营商信息  

//int   SIM900A_api_send_PDU_SM(char *num, char *msg);//发送PDU字符串格式的短信 

int SIM900A_api_init_SMS_address(void);        //初始化消息中心号码

int   SIM900A_get_rssi_level(void);         //读取gsm模块信号强度





#endif  /*SIM900A_API_H*/
